﻿@using MyCompanyName.AbpZeroTemplate.Web.Areas.Mpa.Models.Common.Modals
@using Abp.Application.Services.Dto
@using MyCompanyName.AbpZeroTemplate.Web.Areas.Mpa.Models.Common.Modals
@using Abp.Web.Mvc.Extensions
@using MyCompanyName.AbpZeroTemplate.Authorization
@using MyCompanyName.AbpZeroTemplate.Web.Navigation
@*@using X.PagedList.Mvc
    @using X.PagedList*@

@{
    ViewBag.CurrentPageName = PageNames.App.ProductManager.ProductList;
}

@section Scripts
{
    @Html.IncludeScript("~/Areas/Mpa/Views/Product/ProductList.js")
}
@Html.IncludeStyle("~/libs/bootstrap-modal/css/bootstrap-modal.css")
@Html.IncludeStyle("~/libs/bootstrap-modal/css/bootstrap-modal-bs3patch.css")

<div class="row">
    <div class="col-md-12">
        <div class="portlet light form-fit bordered">
            <div class="portlet-title" style="padding:8px 0px 0px 0px!important;">
                <!--标题-->
                <div class="col-md-3">
                    <div class="caption font-dark" style="padding-top:10px;font-size:15px;">
                        <i class="icon-settings font-dark"></i>
                        <span class="caption-subject bold uppercase"> 产品列表</span>
                    </div>
                </div>
                <div class="col-md-4">

                </div>
                <div class="col-md-3">
                    <div class="input-group">
                        <input type="text" class="form-control" id="AgentSearchNameid" placeholder="代理商账号/代理商名称">
                        <span class="input-group-btn">
                            <button class="btn blue" type="button" id="SearchAgentId">查询</button>
                        </span>
                    </div>
                    <!-- /input-group -->
                </div>
                <div class="col-md-2">
                    <div class="btn-group">
                        <button type="button" class="btn blue" id="Ceatebtnclick">新增产品</button>
                        <button type="button" class="btn blue" onclick="RefreshDataTable();">刷新</button>
                    </div>
                </div>

            </div>
            <div style="background-color:#0066b3;width:100%;height:2px;">
            </div>
            <!--内容-->
            <div class="portlet-body" style="padding-top:0px!important;padding-bottom:4px;">
                <div class="dataTables_wrapper no-footer" id="sample_2_wrapper">
                    <table class="table table-striped table-bordered table-hover dataTable no-footer" id="Main_ObjectId" role="grid" aria-describedby="sample_2_info"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<div tabindex="-1" class="modal container fade in modal-overflow" id="NoPermissionModal" aria-hidden="false"
     style="margin-top: 0px; display: none;width:45%;">
    <div class="modal-header" style="background-color:#2C3E50 ;height:50px;">
        <button class="close" aria-hidden="true" type="button" data-dismiss="modal"></button>
        <h4 class="modal-title" style="color:white;">新建产品</h4>
    </div>
    <div class="modal-body" style="padding:0px;">
        <iframe id="NoPermissioniframe" width="100%" height="100%" frameborder="0" style="height:395px;"></iframe>
    </div>
    <div class="modal-footer" style="padding: 8px 15px 7px 0px;">
        <button class="btn btn-outline dark" type="button" data-dismiss="modal">取消</button>
        <button class="btn green" type="button" onclick="FormSava();">保存</button>
    </div>
</div>



